import 'package:flutter_dotenv/flutter_dotenv.dart';

class Config {
  late String httpHost = "http://127.0.0.1:8080";
  late String tcpHost = "127.0.0.1";
  late int tcpPort = 20000;

  Config() {
    httpHost = dotenv.get("HTTP_HOST");
    tcpHost = dotenv.get("TCP_HOST");
    tcpPort = int.parse(dotenv.get("TCP_PORT"));
  }
}
